package com.czh.framework.security.web;

public class RandomAuthCodeGenerator {
   public static String  getRandomCode(int len) {
        int step = 10;
        for (int l = 0; l < len; l++) {
            step *= 10;
        }
        return String.valueOf ((int)(Math.random() * step));
    }
}
